#include <string>
#include <iostream>

#include <Wt/WText>
#include <Wt/WString>
#include <Wt/WGridLayout>
#include <Wt/WApplication>
#include <Wt/WEnvironment>
#include <Wt/Auth/AuthWidget>
#include <Wt/Auth/PasswordService>

#include <boost/thread.hpp>
#include <boost/foreach.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/signals/connection.hpp>

#include "genetic_lego/GeneticLegoApp.h"

using namespace Wt;
using namespace std;

//To make the code prettier
#define foreach         BOOST_FOREACH
#define reverse_foreach BOOST_REVERSE_FOREACH


GeneticLegoApp::GeneticLegoApp( const Wt::WEnvironment& env )
  : WApplication( env )
{
  enableUpdates( true );
  setTitle( "Genetic Legos Imager" );

  //If we have deployed this app as a fastcgi, then we need to modify URL
  //  of the local_resource
  useStyleSheet( "genetic_lego_resources/genetic_lego.css" );


  new WText( "Hello World!", root() );

}//DubsApplication( const Wt::WEnvironment& env, DubUserServer &server )


GeneticLegoApp::~GeneticLegoApp()
{
}//DubsApplication


